//
//  LocationNotification.h
//  WZEfengAndEtong
//
//  Created by wanzhao on 2016/9/27.
//  Copyright © 2016年 wanzhao. All rights reserved.
//

#import <Foundation/Foundation.h>

#define LocalNotification_Userinfo_KEY @"scheduleTitle"

@interface LocationNotification : NSObject

+ (void)testNotification;

/**用前初始化*/
+ (void)setDefaultData;

/**取消指定通知*/
+ (void)cancelLocalNotificationWithIdentifier:(NSString *)identifier;

/**删除所有通知*/
+ (void)cancelAllLocalNotifications;

/**创建通知*/
+ (UILocalNotification *)registerLocalNotificationWithFireDate:(NSDate *)firedate
                                                    repeatType:(NSCalendarUnit)repeattype
                                                        entity:(NSDictionary *)dict;

/**推迟通知*/
+ (UILocalNotification *)postPoneLocalNoticationWithFireDate:(NSDate *)firedate
                                 repeatType:(NSCalendarUnit)repeattype
                                        Seq:(NSString*)sequence
                                     entity:(NSDictionary *)dict;


@end
